//
//  CartOrderStatusController.h
//  JiaoX
//
//  Created by jiaoxiu－005 on 15/1/21.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JXAccountCenterController.h"

@protocol CartOrderStatusDelegate <NSObject>
@optional
-(void)orderStatusFinish:(int)type;
@end

typedef enum {
    //通过购物车进入
    ORDER_STATUS_CART = 0,
    //通过订单中心进入
    ORDER_STATUS_ORDERLIST = 1,
    //通过订单列表进入
    ORDER_STATUS_ORDERDETAIL = 2
    
}orderStatusFinishType;

@interface CartOrderStatusController : UIViewController

+(instancetype)initWithResultCode:(NSString *)resultCode type:(int)type;
@property(nonatomic,weak) id<CartOrderStatusDelegate> delegate;

@end
